/*
 * @Author: DUST
 * @Date: 2023-05-16 11:18:25
 * @LastEditors: DUST
 * @LastEditTime: 2023-11-26 00:00:55
 * @FilePath: \business-card-system\admin\src\router\admin.ts
 * @Description: 
 * undefined
 */

import { RouteMenuInterface } from "@/interface";
import { RouterView } from "vue-router";

const adminRoute: Array<RouteMenuInterface> = [
  {
    path: "/adminIndex",
    name: "adminIndex",
    component: RouterView,
    meta: {
      title: "名片管理",
      key: "adminIndex"
    },
    children: [
      {
        path: "",
        name: "businessCardUser",
        component: () => import("@/views/admin/businessCardUser/index.vue"),
        meta: {
          title: "人员管理",
          key: "businessCardUser"
        },
      },
      {
        path: "companyInfo",
        name: "companyInfo",
        component: () => import("@/views/admin/companyInfo/index.vue"),
        meta: {
          title: "公司简介",
          key: "companyInfo"
        },
      }
    ]
  },
  // {
  //   path: "/life",
  //   name: "life",
  //   component: RouterView,
  //   meta: {
  //     title: "生活百态",
  //     key: "life"
  //   },
  //   children: [
  //     {
  //       path: "",
  //       name: "navigate",
  //       component: () => import("@/views/admin/navigate/index.vue"),
  //       meta: {
  //         title: "酷站导航",
  //         key: "navigate"
  //       },
  //     }
  //   ]
  // }
];


export default adminRoute;